package com.zjdiepu.www.proxy.biz.own;

import java.util.List;
import java.util.Map;

import com.zjdiepu.www.proxy.model.dto.transfer.TransferOtherAttachments;

public interface HzBiz {

	List<Map<String, String>> queryWhereSql(String sqlXmls);
	
	int countSqlXmls(String sqlXmls);
	
	Map<String, String> selectMapsSql(String sqlXmls);
	
	void loggerError(String errMessage);
	
	void loggerInfo(String errMessage);
	
	void loggerDebug(String errMessage);
	
	/**
	 * 检查图片正确
	 * @param transferOtherAttachments
	 * @return
	 */
	boolean checkCompleted(TransferOtherAttachments transferOtherAttachments);
	
	/**
	 * 检查工行是否正确
	 * 00000正确
	 * 22001 订单已经存在
	 * @param object
	 * @return
	 * @throws Exception
	 */
	String retcode(Object object)throws Exception;
	
	/**
	 * 解析响应消息提示
	 * @time 2018-02-27
	 * @param apiResponse
	 * @return 消息提示
	 */
	String retmsg(Object object);
}
